package com.hanson.mapper;

import com.hanson.entity.FileBean;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface FileBeanMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(FileBean record);

    FileBean selectByPrimaryKey(Integer id);

    List<FileBean> selectAll();

    int updateByPrimaryKey(FileBean record);

    List<FileBean> selectPage(@Param("pid") int pid,@Param("start") int start,@Param("end") int end);

    int selectCount(@Param("pid") int pid);
}